package cn.hnucm.userservice.mapper;

import cn.hnucm.userservice.entity.TbToken;
import cn.hnucm.userservice.entity.TbUserBasis;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;

import java.util.List;


/**
 * <p>
 * 系统用户Token Mapper 接口
 * </p>
 *
 * @author zjl
 * @since 2021-12-08
 */
public interface TbTokenMapper {
    public List<TbToken> findTbTokenById(int userId);
    public boolean addTbToken(TbToken tbToken);
    public boolean updateTbToken(TbToken tbToken);
    public boolean deleteTbToken(int userId);
}
